package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.entity.TemplateChannel;

import java.util.List;

public interface TemplateChannelService {
    /**
     * 批量添加channel
     *
     * @param channelList
     * @return
     */
    boolean insertChannels(List<TemplateChannel> channelList);

    /**
     * 根据模板id查询出渠道赠送信息
     *
     * @param templateId
     * @return
     */
    List<TemplateChannel> selectAllByTemplateId(String templateId);

    /**
     * 据模板id删除渠道赠送信息
     *
     * @param templateId
     * @return
     */
    boolean delChannelByTemId(String templateId);
}


